//
//  LCYEmoticonPickerCollectionViewCell.m
//  IMByLinkUs
//
//  Created by lcy on 16/1/14.
//  Copyright © 2016年 lcy. All rights reserved.
//

#import "LCYEmoticonPickerCollectionViewCell.h"

@interface LCYEmoticonPickerCollectionViewCell ()

/**
 *  用于显示表情的imgView
 */
@property (strong, nonatomic) UIImageView *emoticon;

@end

@implementation LCYEmoticonPickerCollectionViewCell

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.emoticon = [[UIImageView alloc] initWithFrame:self.bounds];
        [self.contentView addSubview:self.emoticon];
        
    }
    return self;
}

/**
 *  给图片赋值
 *
 *  @param img 获取得到的图片
 */
- (void)setImg:(YYImage *)img
{
    _img = img;
    self.emoticon.image = img;
}



@end
